﻿ALTER TABLE [dbo].[Messages]
    ADD CONSTRAINT [FK_Message_Message] FOREIGN KEY ([ReplyMessageID]) REFERENCES [dbo].[Messages] ([MessageID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

